<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>订单</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
    <script type="text/javascript" src="../js/jquery-3.4.1.min.js"></script>
    <script type="text/javascript">

        function toCommit(){
            $.ajax({
                type:"POST",
                url:"",
                data:"",
                dataType:"json",
                success:function(msg){
                    alert(msg)
                }
            })
        }

    </script>
</head>
<body>

    <input type="button" value="提交订单" onclick="toCommit">

</body>
</html>